import request from "@/utils/request";

//新增外委
export function addOutsourcing(data) {
  return request({
    url: "/entrust",
    method: "post",
    data: data,
  });
}
//获取外委列表
export function getOutsourcingList(query) {
  return request({
    url: "/entrust/list",
    method: "get",
    params: query,
  });
}
